package com.ruoyi.project.seeDoctor.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class MedCaseCheck extends BaseEntity {
    private String case_id;
    private String reg_id;
    private String pati_code;
    private Integer check_id;
    private Integer exam_id;
    private String check_remark;

    @Override
    public String toString() {
        return "MedCaseCheck{" +
                "case_id='" + case_id + '\'' +
                ", reg_id='" + reg_id + '\'' +
                ", pati_code='" + pati_code + '\'' +
                ", check_id=" + check_id +
                ", exam_id=" + exam_id +
                ", check_remark='" + check_remark + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        MedCaseCheck that = (MedCaseCheck) o;
        return Objects.equals(case_id, that.case_id) &&
                Objects.equals(reg_id, that.reg_id) &&
                Objects.equals(pati_code, that.pati_code) &&
                Objects.equals(check_id, that.check_id) &&
                Objects.equals(exam_id, that.exam_id) &&
                Objects.equals(check_remark, that.check_remark);
    }

    @Override
    public int hashCode() {
        return Objects.hash(case_id, reg_id, pati_code, check_id, exam_id, check_remark);
    }

    public String getCase_id() {
        return case_id;
    }

    public void setCase_id(String case_id) {
        this.case_id = case_id;
    }

    public String getReg_id() {
        return reg_id;
    }

    public void setReg_id(String reg_id) {
        this.reg_id = reg_id;
    }

    public String getPati_code() {
        return pati_code;
    }

    public void setPati_code(String pati_code) {
        this.pati_code = pati_code;
    }

    public Integer getCheck_id() {
        return check_id;
    }

    public void setCheck_id(Integer check_id) {
        this.check_id = check_id;
    }

    public Integer getExam_id() {
        return exam_id;
    }

    public void setExam_id(Integer exam_id) {
        this.exam_id = exam_id;
    }

    public String getCheck_remark() {
        return check_remark;
    }

    public void setCheck_remark(String check_remark) {
        this.check_remark = check_remark;
    }

    public MedCaseCheck() {
    }

    public MedCaseCheck(String case_id, String reg_id, String pati_code, Integer check_id, Integer exam_id, String check_remark) {
        this.case_id = case_id;
        this.reg_id = reg_id;
        this.pati_code = pati_code;
        this.check_id = check_id;
        this.exam_id = exam_id;
        this.check_remark = check_remark;
    }
}
